package com.ulic.customerManApplication.usermodule.bo;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;


@Entity
@Table(name = "T_GYW_ADMINITRATOR")
@SequenceGenerator(name="admin_seq",sequenceName="T_GYW_ADMIN_ID")
public class Adminitrator {
	
	private int oid;//主键
	private String username;//用户名
	private String password;//密码
	@Id
	@GeneratedValue(strategy=GenerationType.SEQUENCE,generator="admin_seq")
	public int getOid() {
		return oid;
	}
	public void setOid(int oid) {
		this.oid = oid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	

}
